package com.chen.domain;

import javax.persistence.Entity;
import javax.persistence.Table;
import java.io.Serializable;
/*
* 班级实体类
* */
@Entity
@Table(name = "s_clazz")
public class Clazz implements Serializable {
    private Integer id;
    private String name;
    private String info;

    public Clazz() {
    }

    public Clazz(Integer id, String name, String info) {
        this.id = id;
        this.name = name;
        this.info = info;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getInfo() {
        return info;
    }

    public void setInfo(String info) {
        this.info = info;
    }

    @Override
    public String toString() {
        return "Clazz{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", info='" + info + '\'' +
                '}';
    }
}
